TabBar.setupExtraDropTarget

Sets the supported types for this drop target.

Sets up an extra drop target on tabs.

This allows to drag arbitrary content onto tabs, for example URLs in a web browser.

If a tab is hovered for a certain period of time while dragging the content, it will be automatically selected.

The [signal@TabBar::extra-drag-drop] signal can be used to handle the drop.

class TabBar
void
setupExtraDropTarget

Parameters

actions GdkDragAction

the supported actions

types GType[]

all supported GTypes that can be dropped

Meta